package com.zhuss;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import com.zhuss.bean.vo.core.company.DetailCompanyVo;

@Service(version = "v1")
@Component
public class CompanyServiceImpl implements CompanyService {
	
	@Reference(version = "v1")
	private UserService userService;

	@Override
	public DetailCompanyVo detail(Long userId) {
		DetailCompanyVo result = new DetailCompanyVo();
		result.setName("companyName");
		userService.detail(1l);
		System.out.println("companyName");
		return result;
	}

}
